import request from "./http";

import { EXCHANGE } from "@/config/enum";

export interface GetZoneParamDto {
  AdxId: EXCHANGE;
  Con?: string;
  Layer?: number;
  IsDirect?: boolean;
}

// 地区
export function getZone(param: GetZoneParamDto): Promise<any> {
  return request("category/zone", param);
}

// 兴趣
export function getInterest(param: GetZoneParamDto): Promise<any> {
  return request("category/interest", param);
}

// 兴趣人群包
export function getSystemCrowdList(param: GetZoneParamDto): Promise<any> {
  return request("adx-tool/querySystemCrowdList", param);
}